using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("RAFChest")]
	public class RAFChest : PegUIElement
	{
		public Renderer m_chestQuad => method_3<Renderer>("m_chestQuad");

		public GameObject m_tooltipBone => method_3<GameObject>("m_tooltipBone");

		public bool m_isChestOpen => method_2<bool>("m_isChestOpen");

		public RAFChest(IntPtr address, string className)
			: base(address, className)
		{
		}

		public RAFChest(IntPtr address)
			: this(address, "RAFChest")
		{
		}

		public void SetOpen(bool isChestOpen)
		{
			method_8("SetOpen", isChestOpen);
		}

		public bool IsOpen()
		{
			return method_11<bool>("IsOpen", Array.Empty<object>());
		}
	}
}
